﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using EDTS.Model.Weixin;
using EDTS.Data.Weixin;
namespace EDTS.Logic.Weixin
{
    public class WxRequestLogic
    {
        public static void CreateNew(WxRequestModel model)
        {
            WxRequestCommand.CreateNew(model);
        }

        public static WxRequestCollection Gets(WxRequestQuery sea)
        {
            return WxRequestCommand.Gets(sea);
        }

        public static void ChangeStatus(int id, WxRequestStatus sta, string errlog=null)
        {
            WxRequestCommand.ChangeStatus(id, sta, errlog);
        }
    }
}
